home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 1
/
Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso
/
mac
/
WINDOWS
/
MISCUTIL
/
IS114
/
ICOINST.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-06-29
|
1KB
|
52 lines
@echo off
REM
REM Install IcoShow
REM Last revision 06/29/92
REM Usage: ICOINST drive:directory
REM
if "%1"=="" goto usage
if exist %1\NUL goto copyit
md %1
if not exist %1\NUL goto error
:copyit
echo.
echo Copying IcoShow to directory %1
copy a:\icoshow.exe %1 >NUL
copy a:\icoshow.hlp %1 >NUL
copy a:\icoshowh.dll %1 >NUL
if exist %1\icoshow.ini goto warning
copy a:\icoshow.ini %1 >NUL
goto endcopy
:warning
echo.
echo Your file ICOSHOW.INI wasn't been overwritten since you have an old version.
echo If you wish to write a new version set the option "Save settings" from
echo options menu and IcoShow will do it for you.
pause
:endcopy
echo.
echo The copy was succesfully. Start IcoShow with
echo %1\icoshow
echo from Windows.
echo.
goto quit
:usage
echo Use IcoShow with the following command line
echo.
echo ICOINST drive:directory
echo.
goto quit
:error
echo I could not create the directory %1. Please repeat the installation.
echo Possibly disk is full.
:quit